package cn.bonoon.core.plugins;

import java.util.List;

import cn.bonoon.entities.plugins.ShortcutMenuEntity;
import cn.bonoon.kernel.support.IOperator;
import cn.bonoon.kernel.support.services.GenericService;

public interface ShortcutMenuService extends GenericService<ShortcutMenuEntity> {

	int count(IOperator opt, String moduleId);

	List<ShortcutMenuEntity> get(IOperator opt, String moduleId);

	void save(IOperator opt, String mid, String rename, Integer type);

	void sort(IOperator opt, Long[] ids);

	Integer max_ordinal(IOperator opt, String moduleId);
	
	void update_module(IOperator opt, Long id, Integer type);
}
